<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script type="text/javaScript" src="js/JQuery.js"></script>
</head>
<body style="padding:1px;">
<form action="?mod=phpcms&file=block&action=update" method="post" name="myform" target="block_post">
<input type="hidden" name="forward" value="http://localhost/phpcms/phpcms/admin.php?mod=phpcms&file=block&action=update&ajax=1&blockid=12">
<textarea name="data" cols="120" rows="6" id="data" ><div style="text-indent: 21pt">Phpcms网站管理系统是国内主流CMS系统之一，曾多次被新浪、网易、电脑报等IT媒体报道。Phpcms目前已有数万网站的应用规模，拥有政府、企业、科研教育和媒体等各个行业领域近千名商业用户。 <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 公司以&ldquo;为客户创造效益&rdquo;为核心理念，致力为用户提供最优秀的网站建设和电子商务解决方案及相关咨询、培训和实施服务，帮助客户摆脱技术捆扰全心投入网站运营。公司视服务为企业生命，视客户为企业之本，以服务客户为企业宗旨，努力提升服务水平，以优秀服务为客户节约成本、创造价值，赢得了广大用户的信赖与支持。</div></textarea>

<script type="text/javascript" src="fckeditor/fckeditor.js"></script>

<script language="JavaScript" type="text/JavaScript">
 
	$('#data').hide();
	var SiteUrl = "http://localhost/search/";
	var Module = "phpcms";
	var sBasePath = "http://localhost/search/" + 'fckeditor/';
	var oFCKeditor = new FCKeditor( 'data' ) ; 
	
	oFCKeditor.BasePath = sBasePath ; 
	oFCKeditor.DefaultLanguage="en";
	oFCKeditor.Height = '300'; 
	oFCKeditor.Width	= $('#data').width() ; 
	oFCKeditor.ToolbarSet	= 'introduce' ;
	oFCKeditor.ReplaceTextarea();

 

 
</script>

<input type="button" value="增大高度" class="Height_UP"><input type="button" value="减小高度" class="Height_Down">




<div id="MM_file_list_data" style="text-align:left"></div><div id='FilePreview' style='Z-INDEX: 1000; LEFT: 0px; WIDTH: 10px; POSITION: absolute; TOP: 0px; HEIGHT: 10px; display: none;'></div><div id='data_save'></div><div class="button_box" style="text-align:center;padding-left:10px">

</div>
</form>
<input onClick="FCKeditor_Height();" value="000000000000000" />

<script type="text/javascript"> 

$(".Height_UP").click(function(){ FCKeditor_Height('+') });
$(".Height_Down").click(function(){ FCKeditor_Height('-') });

function FCKeditor_Height(H)
{
	var obj = '#data___Frame';
	if('+' == H ) $(obj).animate({  height: $(obj).height() + 150 }, "normal");
	else if('-' == H  && $(obj).height() >= 200 ) $(obj).animate({  height: $(obj).height() - 150 }, "normal");;
}


 


</script>



















 

<INPUT TYPE="button" onClick="InserImg()" value="插图片"> 已经输入了<span id="ShowTextLength">0</span>个字符了
<BR>
当前字符:<INPUT TYPE="text" id="ddd" size=100> 

<script language="Javascript">
<!--     
function InserImg()
{
var oEditor = FCKeditorAPI.GetInstance('data');
oEditor.InsertHtml("<img src=http://www.baidu.com/img/logo.gif>");
} 

 
//-->
</script>

</body>
</html>
